package com.example.dao;

import com.example.domain.Comment;
import org.apache.ibatis.annotations.*;
import java.util.List;

public interface CommentDao {
    Comment getCommentById(Integer id);

    void addComment(Comment comment);

    void deleteComment(Integer id);

    List<Comment> getCommentsByPostId(Integer postId);
}
